package com.mlk.engSystem.service;

import com.mlk.core.component.page.Pager;
import com.mlk.core.util.ServerResponse;
import com.mlk.engSystem.po.EngSysBanner;
import org.springframework.web.multipart.MultipartFile;

public interface EngSystemBannerService {
    /**
     * 分页数据展示
     * @return
     */
    Pager listPage();

    ServerResponse add(EngSysBanner banner, MultipartFile file);

    /**
     * 更新
     * @param banner
     * @return
     */
    ServerResponse update(EngSysBanner banner);

    ServerResponse apiList();

    ServerResponse listBanner();
}
